# Read about factories at https://github.com/thoughtbot/factory_girl

FactoryGirl.define do
  factory :topic do
    user
    title { "#{Faker::Lorem.sentence}" }
    public { true }
    guest_ok { true }
    published { true }
    # association :child, :factory => :msk_user
    # association :parent, :factory => :ural_user
    # relation_allowed true
    # sequence(:child_name) {|n| "#{Faker::Lorem.word[0,9]}"}
    # sequence(:child_avatar) {|n| "child_avatar_#{n}"}
    # sequence(:web_name) {|n| "web_name_#{n}_#{Faker::Lorem.word[0,10]}"}
    
  end
end
